package com.wanmait.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 设备-维修前后图片表
 */
@Data
@Accessors(chain = true)
@TableName(value = "repair_before_after_pic")
public class RepairBeforeAfterPic {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 维修事件id
     */
    @TableField(value = "repair_id")
    private Integer repairId;

    /**
     * 维修设备前图片的id
     */
    @TableField(value = "before_repair_id")
    private Integer beforeRepairId;

    /**
     * 设备维修后的图片id
     */
    @TableField(value = "after_repair_id")
    private Integer afterRepairId;
}